feat(test-benchmark): add EIP-7825 tx splitting and fix & include stubs.json#2052
Closed
CPerezz wants to merge 5 commits intoethereum:forks/amsterdamfrom
Closed
feat(test-benchmark): add EIP-7825 tx splitting and fix & include stubs.json#2052CPerezz wants to merge 5 commits intoethereum:forks/amsterdamfrom
CPerezz wants to merge 5 commits intoethereum:forks/amsterdamfrom
Conversation
…um#1842) Co-authored-by: spencer <spencer.tb@ethereum.org>
Add support for EIP-7825 transaction gas limit cap (16M gas) to bloatnet benchmark tests. When gas_benchmark_value exceeds tx_gas_limit, tests now automatically split into multiple transactions. Changes: - Add tx_gas_limit fixture parameter to all bloatnet test functions - Calculate num_txs based on gas_benchmark_value / tx_gas_limit - Split attack contracts across multiple transactions with proper iteration count distribution - Track salt_offset for factory-based tests to ensure unique contract addresses across transactions This ensures bloatnet tests work correctly with gas values > 16M while maintaining EIP-7825 compliance.
Add stubs.json mapping test names to mainnet ERC-20 contract addresses: - 297 entries for 99 unique tokens (excluding 30GB_ERC20) - Fixed 22 incorrect addresses (ALT, AOA, cETH, CHZ, CRO, ENA, ETHFI, GTC, IMT, IMX, KOK, LEND, LOOKS, LYM, MITx, Monfter/Monavale, ONDO, POLY, WEPE, ZETA, ZSC) - Removed WELL token (doesn't exist on Ethereum mainnet) - All addresses verified to have deployed code via eth_getCode
Contributor
Author
|
cc: @kamilchodola |
Collapse ternary expressions to single lines as required by ruff format.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## forks/amsterdam #2052 +/- ##
================================================
Coverage 83.87% 83.87%
================================================
Files 402 402
Lines 25101 25101
Branches 2285 2285
================================================
Hits 21053 21053
Misses 3609 3609
Partials 439 439
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
7 tasks
Collaborator
|
@CPerezz Could you help change the base branch from |
dapplion
pushed a commit
to gnosischain/execution-specs
that referenced
this pull request
Feb 4, 2026
This modexp test case is exceptionally slow in EVM implementations using Go standard library `"math/big"`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
EIP-7825 Transaction Splitting
gas_benchmark_valueexceedstx_gas_limit, tests now automatically split into multiple transactionstx_gas_limitfixture parameter to all bloatnet test functionssalt_offsetfor factory-based tests to ensure unique contract addresses across transactionsToken Address Stubs (stubs.json)